package com.ruoyi.uni.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 点餐类型对象 dc_types
 * 
 * @author hx
 * @date 2024-04-14
 */
public class DcTypes extends BaseEntity
{
    private List<DcGoods> dcGoodsList;
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 类目 */
    @Excel(name = "类目")
    private String typeName;

    /** 位置 */
    @Excel(name = "位置")
    private Long location;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setLocation(Long location) 
    {
        this.location = location;
    }

    public Long getLocation() 
    {
        return location;
    }

    public List<DcGoods> getDcGoodsList() {
        return dcGoodsList;
    }

    public void setDcGoodsList(List<DcGoods> dcGoodsList) {
        this.dcGoodsList = dcGoodsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("goodList",getDcGoodsList())
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("location", getLocation())

            .toString();
    }
}
